package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {

    //1. sku基本信息获取
    SkuInfoEntity info;

    boolean hasStock = true;

    //2. sku的图片信息
    List<SkuImagesEntity> images;

    //3. spu的销售属性组合
    List<SkuItemSaleAttrVo> saleAttr;

    //4. spu的介绍
    SpuInfoDescEntity desp;
    //5. spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;
    // 秒杀信息
    private SeckillInfoVo seckillInfo;

}
